<html>
<head>
<meta http-equiv=Content-Type content=text/html;charset=utf-8>
<#include "../inc/commonJs.html">
<script type="text/JavaScript">
	function doSave(){
		var url = "saveBoard.do";
		$('form').form('submit',{  
		    url:url,
		    onSubmit:function(){
				return $(this).form('validate');
		    },  
		    success:function(data){  
				top.closemodalwindow(true,data);
		    }  
		});
	}
	//
	$(function(){
		if(${classid!0}!=0){
			$('#class').combotree('setValue','${classid}');
		}
		if('${obj.classid!}'){
			$('#class').combotree('setValue','${obj.classid!}');
		}
	});
</script>

</head>
<body>
<form align="center" method="post">
<input type="hidden" name="id" value="${id!0}">
<table border="0" width="98%" cellpadding="0" cellspacing="0" class="table_all" align="center">
      <tr>
        <td width="25%" height="32" class="td_table_1"><span class="smallFont">类&nbsp;&nbsp;&nbsp; 型：</span></td>
        <td width="75%" height="32" class="td_table_2">&nbsp;
          <input id="class" class="easyui-combotree" name="classid" style="width:300px;" data-options="url:'listClassForTree.do'" panelHeight="150"/>
          <font color=red>*</font></td>
      </tr>
      <tr>
        <td height="32"  class="td_table_1"><span class="smallFont">板块名称：</span></td>
        <td height="32" class="td_table_2"><div align="left">&nbsp;
            <input name="name" class="easyui-validatebox" required="true" maxlength="20" style="width:300px;"  title="这里请输入您的板块名称" value="${obj.name!}">
            <font color=red>*</font> </div></td>
      </tr>
      <tr>
        <td height="32"  class="td_table_1"><span class="smallFont">板块简介：</span></td>
        <td height="32" class="td_table_2"><div align="left">&nbsp;
            <input name="readme" value="${obj.readme!}" size="26"  class="easyui-validatebox" required="false" maxlength="100" style="width:300px;" type="text" title="这里请输入简介">
            <font color=red>*</font> </div></td>
      </tr>
  </table>
</form>
</body>
</html>